#ifndef MACROFUNOFVIEW_H_KKKKWWUYT
#define MACROFUNOFVIEW_H_KKKKWWUYT



#define WindowDeactivate_EventFilter_Only()  \
if (watched == this) {  \
    int type = event->type();  \
    if(QEvent::WindowDeactivate == type){  \
        isWindowDeactivate = true;  \
    }else if(QEvent::WindowActivate == type){  \
        isWindowDeactivate = false;  \
    }  \
}  \
return QWidget::eventFilter(watched, event);



#endif // MACROFUNOFVIEW_H
